﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class RejuvaSea_RejuvaSea : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

            if (Request.QueryString["listid"] != null)
                Session["listid"] = Request.QueryString["listid"];
            else
                Session["listid"] = 1; 

            if (Request.QueryString["dnis"] != null)
                Session["dnis"] = Request.QueryString["dnis"];
            else
                Session["dnis"] = "8558727171";

            if (Request.QueryString["servername"] != null)
                Session["servername"] = Request.QueryString["servername"];
            else
                Session["servername"] = "COGSQL";

            if (Request.QueryString["projectname"] != null)
                Session["projectname"] = Request.QueryString["projectname"];
            else
                Session["projectname"] = "RejuvaSea";
        
            if (Request.QueryString["campaignname"] != null)
                Session["campaignname"] = Request.QueryString["campaignname"];
            else
                Session["campaignname"] = "RejuvaSea";

            if (Request.QueryString["agentid"] != null)
                Session["agentid"] = Request.QueryString["agentid"];
            else
                Session["agentid"] = 66319;

            if (Request.QueryString["agentfirst"] != null)
                Session["agentfirst"] = Request.QueryString["agentfirst"];
            else
                Session["agentfirst"] = "TestFirst";

            if (Request.QueryString["agentlast"] != null)
                Session["agentlast"] = Request.QueryString["agentlast"];
            else
                Session["agentlast"] = "TestLast";

            Session["App"] = new DataAccess();

    }
}